package com.snail.clouds.storage.entity;

import lombok.Data;

/**
 * 账户信息
 */
@Data
public class AccountInfo {
    private String userId;
    private String username;
    private long totalSpace;
    private long usedSpace;

    public AccountInfo() {
    }

    public AccountInfo(String userId, String username, long totalSpace, long usedSpace) {
        this.userId = userId;
        this.username = username;
        this.totalSpace = totalSpace;
        this.usedSpace = usedSpace;
    }
}